8-bit AVR Microcontroller



If you use internal RC oscillator, begin your programm with :

RESET:
 	ldi zh,0x03
	ldi zl,0xff
	lpm
	out osccal,R0
 
load hex file into Orange and press "Read OSCCAL",
the calibration byte will be in adress 0x3ff
